﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/MasterPages/Dialog.Master" AutoEventWireup="true" CodeBehind="SupplierAccountForm.aspx.cs" Inherits="DMS.Web.Modules.SupplierManagement.SupplierAccountForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" runat="server">
    配送商帐户
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainHolder" runat="server">
    <fieldset >
    <legend>
        详细信息
    </legend>
    <asp:HiddenField ID="hdID" runat="server" />
    <div id="divContent" style="padding-top: 5px;" runat="server">
        <table cellpadding="1" cellspacing="2" border="0" width="98%">
            <tr>
                <th>
                    <nobr>
                        账户名：<span id="spRedPoint_2" runat="server"> (<span class="red">*</span>)</span>
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="Name" runat="server" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="Name"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    <nobr>
                        配送商：<span id="Span1" runat="server"> (<span class="red">*</span>)</span>
                    </nobr>
                </th>
                <td>
                    <asp:DropDownList ID="SupplierID" runat="server" DataTextField="Name" DataValueField="SupplierID" width="95%">
                                        </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="SupplierID"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    <nobr>
                        登录名：<span id="Span3" runat="server"> (<span class="red">*</span>)</span>
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="LoginID" runat="server" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ControlToValidate="LoginID"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    <nobr>
                        项目类型：
                    </nobr>
                </th>
                <td>
                    <asp:DropDownList ID="ProjectTypeID" runat="server" DataTextField="ProjectTypeName" DataValueField="ProjectTypeID" width="95%">
                                        </asp:DropDownList>
                </td>
            </tr>
            <tr id="trPassword" runat="server">
                <th>
                    <nobr>
                        登录密码：<span id="Span4" runat="server"> (<span class="red">*</span>)</span>
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ControlToValidate="txtPassword"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr id="trPassword2" runat="server">
                <th>
                    <nobr>
                        密码确认：<span id="Span5" runat="server"> (<span class="red">*</span>)</span>
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="txtPassword2" runat="server" TextMode="Password" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" ControlToValidate="txtPassword2"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>

                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtPassword" ControlToValidate="txtPassword2" 
                        ErrorMessage="两次输入密码不一致！" ForeColor="Red"></asp:CompareValidator>

                </td>
            </tr>
            <tr>
                <th>
                    <nobr>
                        手机：
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="Mobile" runat="server" width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    <nobr>
                        电子邮件：
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="EMail" runat="server" width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    <nobr>
                        岗位：
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="Position" runat="server" width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    <nobr>
                        是否管理员：
                    </nobr>
                </th>
                <td>
                    <asp:CheckBox ID="IsManager" runat="server" Checked="false" />
                </td>
            </tr>
            
            
        </table>
    </div>
</fieldset>
</asp:Content>

<asp:Content ID="ctFooter"  ContentPlaceHolderID="FooterHolder" runat="server">
<asp:LinkButton ID="btnSave" CssClass="linkbtn" runat="server" OnClick="btnSave_Click"
        CausesValidation="true"><span>保存</span></asp:LinkButton>&nbsp;&nbsp;
<a href="javascript:window.close();" class="linkbtn"><span>关闭</span></a>
</asp:Content>